import request from '@/utils/request'

export function addvrPanorama(data) {
  return request({
    url: "/virlib-admin/vrPanorama",
    method: "put",
    data,
  });
}

export function editvrPanorama(data) {
  return request({
    url: "/virlib-admin/vrPanorama/update",
    method: "put",
    data,
  });
}

export function panoramaList(data) {
  return request({
    url: "/virlib-admin/vrPanorama/query",
    method: "post",
    data,
  });
}

export function deletePanorama(sceneId) {
  return request({
    url: `/virlib-admin/vrPanorama/${sceneId}`,
    method: "delete",
  });
}

export function getPanorama() {
  return request({
    url: `/virlib-admin/vrPanorama/all`,
    method: "get",
  });
}
